﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WebSocketCore.Domain.Entities;

namespace WebSocketCore.Domain
{
    /// <summary>
    /// 服务器回发接口
    /// </summary>
    public interface INotify
    {
        /// <summary>
        /// 服务器回发消息（私聊，聊天室，全部）
        /// </summary>
        Task NotifyAsync(MessageEntity msg);
    }
}
